﻿
using System ;
using System.Globalization ;


namespace MskEdit.Dxf.Model
{
    public class DxfVariable
    {
#region Private data

        private string variableName_ ;
        private object variableValue_ ;

#endregion

#region Public foundation

        public DxfVariable( string variableName, object variableValue ) {
            variableName_   = variableName ;
            variableValue_  = variableValue ;
        }


        public override String ToString() {
            return variableName_ + " = " + variableValue_.ToString() ;
        }

#endregion

#region Public properties

        public string Name {
            get { return variableName_ ; }
        }


        public object Value {
            get { return variableValue_ ; }
        }
        
#endregion

    }
}
